//
//  xsBossIPBackgroundTableView.h
//  digital_robot_demo
//
//  Created by xskj on 2024/9/2.
//

#import <UIKit/UIKit.h>
#import "xsBossIPBackgroundTableViewCell.h"

NS_ASSUME_NONNULL_BEGIN


@protocol xsBossIPBackgroundTableViewProtoCol <NSObject>

@optional
// 视频比例 aspectRatio    视频比例 现在只有竖屏 传1就行   categoryId： 1是男的 2是女的 0是全部
- (void)xsBossIPBackgroundTableCellBeClick:(xsBossIPBackgroundTableViewCellModel *)model;

@end

@interface xsBossIPBackgroundTableView : UITableView

//@property (nonatomic,copy)void(^tableMoreButtonEvent)(xsBossIPBackgroundTableViewCellModel *model);
//@property (nonatomic,copy)void(^tableViewNotContentDataBgViewBeClickEvent)(void);
//;
//@property (nonatomic,copy)void(^tableCellMoreButtonBeClick)(xsBossIPBackgroundTableViewCellModel *model,NSIndexPath *idxPath);
//@property (nonatomic,copy)void(^tableViewCellBeClickEvent)(xsBossIPBackgroundTableViewCellModel *model);

- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style withIsMe:(BOOL)isMe;
//- (void)xsChangeIsMeState:(BOOL)xsChgIsMe;
//- (void)xsChangeData:(NSArray *)xsData;

@property (nonatomic,copy)void(^tableViewCellUseButtonCallBackBlock)(xsBossIPBackgroundTableViewCellModel *model);//点击cell上的使用按钮
@property (nonatomic,copy)void(^tableViewCellDeleteCallBackBlock)(xsBossIPBackgroundTableViewCellModel *model);// 点击cell上的删除按钮

@property (nonatomic,copy)void(^tableViewCellBeClickCallBackBlock)(xsBossIPBackgroundTableViewCellModel *model);// 某一行被点击

//keyword    关键词,示例值(抒情的)   false string
//tagId    标签id 不传查询全部,示例值(1)  false integer(int32)
- (void)xsTableDataWithTagId:(NSInteger )tagId whitKeyWord:(NSString *)keywordString;

@end

NS_ASSUME_NONNULL_END
